package entity;

/**
 * @Author wuchao66
 * @Date 2023/5/16 19:42
 * @PackageName:entity
 * @ClassName: Userinfo
 * @Description: TODO
 * @Param
 * @Version 1.0
 */
public class Userinfo {
    private  int id;
    private  String name;
    private  int sex;
    private  int age;
    private String ranking;
    private String dept;

    @Override
    public String toString() {
        return "Userinfo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex=" + sex +
                ", age=" + age +
                ", ranking='" + ranking + '\'' +
                ", dept='" + dept + '\'' +
                '}';
    }


    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getRanking() {
        return ranking;
    }

    public void setRanking(String ranking) {
        this.ranking = ranking;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getSex() {
        return sex;
    }



    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }



    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }
}
